package com.lbn.monitor.app.monitor;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import com.free.framework.ui.FjrAppbar;
import com.lbn.monitor.R;
import com.lbn.monitor.base.AppBaseActivity;
import com.lbn.monitor.widget.Appbar;

import butterknife.ButterKnife;
import butterknife.OnClick;

public class FacilityActivity extends AppBaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_facility);
        ButterKnife.bind(this);
        setAppbar(new Appbar(this)
                .setTitle("设备")
                .openBack());
//        setAppbar(new FjrAppbar.Builder(this)
//                .title("设备")
//                .titleInCenter(true)
//                .create());
    }


    public static void startActivity(Context context) {
        context.startActivity(new Intent(context, FacilityActivity.class));
    }

    @OnClick({R.id.smoke_one, R.id.smoke_two})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.smoke_one:
//                MFListActivity.startActivity(this,1);
                break;
            case R.id.smoke_two:
//                MFListActivity.startActivity(this,2);
                break;
        }
    }
}
